/******************************************************************************
 * @File name   :      ICardDefineService.java
 *
 * @Author      :      JIZHANGS
 *
 * @Date        :      Aug 12, 2015
 *
 * @Copyright Notice: 
 * Copyright (c) 2015 Capgemini, Inc. All  Rights Reserved.
 * This software is published under the terms of the Capgemini Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * Aug 12, 2015 1:37:57 PM        JIZHANGS     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.crmdp.dealer.card.service;

import java.util.List;

import com.cap.bts.crmdp.dealer.card.domain.CardDefinition;
import com.cap.bts.crmdp.dealer.card.dto.CardDefineQueryDto;
import com.cap.bts.crmdp.dealer.card.dto.CardDefineSubmitDto;
import com.cap.bts.framework.common.exception.AppException;
import com.cap.bts.framework.common.service.IBaseService;

/**
 *
 */
public interface ICardDefineService extends IBaseService {
    
   List<CardDefinition> getCardDefinitionListByDto(CardDefineQueryDto dto) throws AppException;
    
    void updateCardDefinition(CardDefineSubmitDto cd) throws AppException;
    
    CardDefinition addCardDefinition(CardDefineSubmitDto cd) throws AppException;
   
    void deleteCardDefinition(CardDefineSubmitDto cd) throws AppException;
    
    Integer getCardDefinitionCount(CardDefineQueryDto dto) throws AppException;
    
    
    /**
     * 查询所有的卡片信息
     * @return
     * @throws AppException
     */
    public List<CardDefinition> getCardList()throws AppException;
}